<?php
/**
 * Created by PhpStorm.
 * User: wendy
 * Date: 16-9-29
 * Time: 11:03
 */

namespace Common\Model;


class NewsRecommendModel extends VRNewsModel
{

    /**
     * 获取新闻相关推荐信息
     * @param $news_id
     */
    public function getNewsRelation($news_id){
        $result = array();
        if(!$news_id) return $result;
        $relation = $this->where(array('news_id'=>$news_id))->select();
        return $relation;
    }
}